package com.zmj.mobile.dto;

import com.zmj.mobile.process.IAudit;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 采购项目表
 * </p>
 *
 * @author lzy
 * @since 2023-11-27
 */
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
public class AuditDTO implements IAudit, Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @NotNull(message = "不能为空")
    private Long id;

    @ApiModelProperty(value = "任务ID")
    @NotEmpty(message = "任务ID不能为空")
    private String taskId;

    @ApiModelProperty(value = "审核意见")
    private String comment;
}
